package com.jiang.myfm.utils;

import com.jiang.myfm.entities.billboard.BillboardEntity;
import com.jiang.myfm.entities.billboard.DataEntity;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2016/12/5.
 */
public interface HttpService {
   @GET("mobile/discovery/v2/rankingList/group?channel=and-a1&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.98")
    Call<BillboardEntity> getText();

    @GET("mobile/discovery/v2/rankingList/{contentType}")
    Call<DataEntity> getData(@Path("contentType")String contentType, @Query("device")String d,@Query("key")String k,@Query("pageId")int page,@Query("pageSize")int ps,@Query("scale")int s);
}
